﻿using Abp.Domain.Entities.Auditing;
using Abp.Domain.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.InteropServices;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace AppFramework.DinosaursParkMes.ProductionReturn
{
    /// <summary>
    /// 退料子表
    /// </summary>
    [Table("tb_ReturnofMaterialinfo")]
    public class ReturnofMaterialinfo: AuditedEntity<int>, ISoftDelete
    {
        [Display(Name = "物料名称")]
        /// <summary>
        /// 物料名称
        /// </summary>
        public string Materialname { get; set; }
        [Display(Name = "物料编号")]
        /// <summary>
        /// 物料编号
        /// </summary>
        public string Materialnumber { get; set; }
        [Display(Name = "规格型号")]
        /// <summary>
        /// 规格型号
        /// </summary>
        public string Specification { get; set; }
        [Display(Name = "单位")]
        /// <summary>
        /// 单位
        /// </summary>
        public string Unit { get; set; }
        [Display(Name = "当前库存")]
        /// <summary>
        /// 当前库存
        /// </summary>
        public int Currentinventory { get; set; }
        [Display(Name = "领用数量")]
        /// <summary>
        /// 领用数量
        /// </summary>
        public int Quantityreceived { get; set; }
        [Display(Name = "批次号")]
        /// <summary>
        /// 批次号
        /// </summary>
        public string Batchnumber { get; set; }
        [Display(Name = "仓库名称")]
        /// <summary>
        /// 仓库名称
        /// </summary>
        public string Warehousename { get; set; }
        [Display(Name = "退料编号")]
        /// <summary>
        /// 退料编号
        /// </summary>
        public string Returnedmaterialnumber { get; set; }
        public bool IsDeleted { get ; set; }
    }
}
